package com.example.superyi.myteam;
import androidx.annotation.NonNull;

import java.io.Serializable;

public class GoodsEntity implements Serializable {
    private String imgPath;//图片地址
    String goodsName;//货物名称
    String goodsPrice;//货物价格
    String content; //内容

    GoodsEntity() {
    }

    public GoodsEntity(String imgPath, String goodsName, String goodsPrice,String content) {
        this.imgPath = imgPath;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.content=content;
    }

    String getContent() {
        return content;
    }

    void setContent(String content) {
        this.content = content;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    String getGoodsName() {
        return goodsName;
    }

    void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    String getGoodsPrice() {
        return goodsPrice;
    }

    void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    @NonNull
    @Override
    public String toString() {
        return "GoodsEntity{" +
                "imgPath='" + imgPath + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice='" + goodsPrice + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

}
